<div id="edit-modal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="editModalLabel">
  <div class="modal-dialog">
    <div class="modal-content">
      
    </div>
    <!-- /.modal-content -->
  </div>
</div>

<script type="text/html" id="edit-form-template">
     <form id="edit-form-data" action="editJson.json" method="post" onsubmit="return false;" class="form-horizontal">
	      <div class="modal-header">
	        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
	        <h4 class="modal-title" id="editModalLabel">上下班时间修改</h4>
	      </div>
	      <!-- /.modal-header -->
	      <div class="modal-body">
	        <div class="container-fuild">
	           <div class="col-md-12">
	           
	              <div class="form-group">
                     <input type="hidden" name="id" value="{{d.id}}">
	                 <label class="col-md-3 control-label">上午上班时间</label>
	                 <div class="col-md-3">
	                    <input type="text" name="amInTime" class="form-control" required data-msg-required="请输入上午上班时间" placeholder="00:00:00" value="{{d.amInTime}}">
	                 </div>
	                 <label class="col-md-3 control-label">上午下班时间</label>
	                 <div class="col-md-3">
	                    <input type="text" name="amOutTime" class="form-control" placeholder="00:00:00" value="{{d.amOutTime}}">
	                 </div>
	              </div>
	              
	              <div class="form-group">
	                 <label class="col-md-3 control-label">下午上班时间</label>
	                 <div class="col-md-3">
	                    <input type="text" name="pmInTime" class="form-control" placeholder="00:00:00" value="{{d.pmInTime}}">
	                 </div>
	                 <label class="col-md-3 control-label">下午下班时间</label>
	                 <div class="col-md-3">
	                    <input type="text" name="pmOutTime" required data-msg-required="请输入下午下班时间" class="form-control" placeholder="00:00:00" value="{{d.pmOutTime}}">
	                 </div>
	              </div>

	           </div>
	        </div>
	      </div>
	      <!-- /.modal-body -->
	      <div class="modal-footer">
	        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
	        <button type="submit" class="btn btn-primary submit-button">提交</button>
	      </div>
      </form>
</script>